package com.byinsight.service.dto;

import java.util.List;

import eg.backend.base.PermissionType;

public class Dimension {
	private String encodedKey;
	private String name;
	private String description;
	private PermissionType permission;
	private List<Dimension> children;
	private Dimension rootDimension;	
	private String position;	
	private int childPosition;
	private String owner;
	private Dimension parent;
	
	public Dimension getParent() {
		return parent;
	}

	public void setParent(Dimension parent) {
		this.parent = parent;
	}

	public String getEncodedKey() {
		return encodedKey;
	}

	public void setEncodedKey(String encodedKey) {
		this.encodedKey = encodedKey;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public PermissionType getPermission() {
		return permission;
	}

	public void setPermission(PermissionType permission) {
		this.permission = permission;
	}

	public List<Dimension> getChildren() {
		return children;
	}

	public void setChildren(List<Dimension> children) {
		this.children = children;
	}

	public Dimension getRootDimension() {
		return rootDimension;
	}

	public void setRootDimension(Dimension rootDimension) {
		this.rootDimension = rootDimension;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public int getChildPosition() {
		return childPosition;
	}

	public void setChildPosition(int childPosition) {
		this.childPosition = childPosition;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

}